<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    	<meta charset="UTF-8">
    <meta id="viewport" name="viewport" content="initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />

    <title>成考首页</title>
    <!-- build:css css/question.min.css -->
    <link rel="stylesheet" type="text/css" href="/Template/mobile/new/Static/css/question.css">
    <!-- endbuild -->
</head>
<body>
    <div class="header">
    <a href="<?php echo U('Mobile/Index/index');?>" class="home">
        <img src="/Template/mobile/new/Static/images/home.png" alt="">
    </a>
    <h1>
    	<?php if(CONTROLLER_NAME == 'Adult' ): ?>成人高考
		    <?php else: ?> value2<?php endif; ?>	
    </h1>
    <a href="<?php echo U('Mobile/Index/map');?>" class="list-icon">
        <img src="/Template/mobile/new/Static/images/icon-1.png" alt="">
    </a>
</div>

    <!--顶部分类导航部分-->
<div class="nav">
    <ul>
        <li <?php if(CONTROLLER_NAME == 'Index'): ?>class="active"<?php endif; ?>><a href="<?php echo U('Index/index');?>">首页</a></li>
        <li	<?php if(CONTROLLER_NAME == 'Adult' && (ACTION_NAME == 'ckindex' || ACTION_NAME == 'question') ): ?>class="active"<?php endif; ?>><a href="<?php echo U('Adult/ckindex');?>">成考</a></li>
        <li	<?php if(CONTROLLER_NAME == ''): ?>class="active"<?php endif; ?>><a href="">函授</a></li>
        <li	<?php if(CONTROLLER_NAME == ''): ?>class="active"<?php endif; ?>><a href="">夜大</a></li>
        <li <?php if(CONTROLLER_NAME == 'Adult' && ACTION_NAME == 'school'): ?>class="active"<?php endif; ?>><a href="<?php echo U('Adult/school');?>">院校</a></li>
        <li <?php if(CONTROLLER_NAME == 'Adult' && ACTION_NAME == 'major'): ?>class="active"<?php endif; ?>><a href="<?php echo U('Adult/major');?>">专业</a></li>
    </ul>
</div>

    <div class="filter">
        <ul>
        	<input type="hidden"  id="type" value='<?php if(I('get.type/d',0) == 1 ): ?>0<?php else: ?> 1<?php endif; ?>' />
            <li id="filter-tit-1">
            	<?php if(I('get.type/d',0) == 1 ): ?>专升本
			    	<?php else: ?> 高起点<?php endif; ?>
            </li>
            <li id="filter-tit-2">全部科目</li>
        </ul>
    </div>
    <div class="filter-con" id="filter-con-1">
        <ul>
            <li <?php if(I('get.type/d',0) == 1 ): ?>class="active"<?php endif; ?> type="city" data-type="1">专升本</li>
            <li <?php if(I('get.type/d',0) == 2 ): ?>class="active"<?php endif; ?> type="city" data-type="2">高起点</li>
        </ul>
    </div>
    <div class="filter-con" id="filter-con-2">
        <ul id="filter-ul-1" <?php if(I('get.type/d',0) == 1 ): ?>style="display: none;"<?php endif; ?>>
            <li class="active" type="city">全部科目</li>
            <li type="city">语文</li>
            <li type="city">英语</li>
            <li type="city">数学</li>
            <li type="city">政治</li>
            <li type="city">艺术</li>
            <li type="city">生态学</li>
            <li type="city">民法</li>
            <li type="city">教育理论</li>
            <li type="city">医学</li>
        </ul>
        <ul id="filter-ul-2" <?php if(I('get.type/d',0) == 2 ): ?>style="display: none;"<?php endif; ?>>
            <li class="active" type="city">全部科目</li>
            <li type="city">语文</li>
            <li type="city">英语</li>
            <li type="city">数学</li>
            <li type="city">物理化学</li>
            <li type="city">历史地理</li>
            <li type="city">俄语/日语</li>
        </ul>
    </div>
    <div class="list">
    	<input type="hidden" id="num" value="<?php echo (count($data)); ?>"/>
        <div class="list-container">
            <div class="list-con">
            	<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div>
	                    <a href='<?php echo U("article",array("id"=>$vo["id"]));?>'><?php echo ($vo["title"]); ?></a>
	                    <p><span><?php echo (date("m-d",$vo["publish_time"])); ?></span></p>
	                </div><?php endforeach; endif; else: echo "" ;endif; ?>  
                <div class="list-more">
                    <a href="javascript:;">正在加载中</a>
                </div>
            </div>
        </div>
    </div>
    <!--build:js js/layout.min.js -->
    <script src="/Template/mobile/new/Static/js/layout.js"></script>
    <!-- endbuild -->
    <!--build:js js/json2.min.js -->
    <script src="/Template/mobile/new/Static/js/json2.js"></script>
    <!-- endbuild -->
    <!--build:js js/question.min.js -->
    <script src="/Template/mobile/new/Static/js/question.js"></script>
    <!-- endbuild -->
</body>
</html>